package sm.test;

import sm.upgrade.DataUpgradeImpl;
import sm.upgrade.api.DataUpgrade;
import sm.upgrade.util.UpgradeContext;

public class RestoreData {

	/**
	 * @param args
	 */
	public static void main(String[] args) throws Exception {
		UpgradeContext context = UpgradeContext.getInstance();
		DataUpgrade dataUpgrade = new DataUpgradeImpl(
				context.getOrCreateCustomerContext(),
				context.getOrCreateBaseContext(), null);
		dataUpgrade.upgradeData("inbox");
	}

}
